﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x020004CB RID: 1227
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class EvolveBuildQueryInfoScRsp : IMessage<EvolveBuildQueryInfoScRsp>, IMessage, IEquatable<EvolveBuildQueryInfoScRsp>, IDeepCloneable<EvolveBuildQueryInfoScRsp>, IBufferMessage
	{
		// Token: 0x17000FEB RID: 4075
		// (get) Token: 0x06003782 RID: 14210 RVA: 0x0009947F File Offset: 0x0009767F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<EvolveBuildQueryInfoScRsp> Parser
		{
			get
			{
				return EvolveBuildQueryInfoScRsp._parser;
			}
		}

		// Token: 0x17000FEC RID: 4076
		// (get) Token: 0x06003783 RID: 14211 RVA: 0x00099486 File Offset: 0x00097686
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return EvolveBuildQueryInfoScRspReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17000FED RID: 4077
		// (get) Token: 0x06003784 RID: 14212 RVA: 0x00099498 File Offset: 0x00097698
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return EvolveBuildQueryInfoScRsp.Descriptor;
			}
		}

		// Token: 0x06003785 RID: 14213 RVA: 0x0009949F File Offset: 0x0009769F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public EvolveBuildQueryInfoScRsp()
		{
		}

		// Token: 0x06003786 RID: 14214 RVA: 0x000994A8 File Offset: 0x000976A8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public EvolveBuildQueryInfoScRsp(EvolveBuildQueryInfoScRsp other) : this()
		{
			this.levelInfo_ = ((other.levelInfo_ != null) ? other.levelInfo_.Clone() : null);
			this.rogueCurrentInfo_ = ((other.rogueCurrentInfo_ != null) ? other.rogueCurrentInfo_.Clone() : null);
			this.retcode_ = other.retcode_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06003787 RID: 14215 RVA: 0x00099510 File Offset: 0x00097710
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public EvolveBuildQueryInfoScRsp Clone()
		{
			return new EvolveBuildQueryInfoScRsp(this);
		}

		// Token: 0x17000FEE RID: 4078
		// (get) Token: 0x06003788 RID: 14216 RVA: 0x00099518 File Offset: 0x00097718
		// (set) Token: 0x06003789 RID: 14217 RVA: 0x00099520 File Offset: 0x00097720
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public EvolveBuildLevelInfo LevelInfo
		{
			get
			{
				return this.levelInfo_;
			}
			set
			{
				this.levelInfo_ = value;
			}
		}

		// Token: 0x17000FEF RID: 4079
		// (get) Token: 0x0600378A RID: 14218 RVA: 0x00099529 File Offset: 0x00097729
		// (set) Token: 0x0600378B RID: 14219 RVA: 0x00099531 File Offset: 0x00097731
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public EvolveBuildQuery RogueCurrentInfo
		{
			get
			{
				return this.rogueCurrentInfo_;
			}
			set
			{
				this.rogueCurrentInfo_ = value;
			}
		}

		// Token: 0x17000FF0 RID: 4080
		// (get) Token: 0x0600378C RID: 14220 RVA: 0x0009953A File Offset: 0x0009773A
		// (set) Token: 0x0600378D RID: 14221 RVA: 0x00099542 File Offset: 0x00097742
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Retcode
		{
			get
			{
				return this.retcode_;
			}
			set
			{
				this.retcode_ = value;
			}
		}

		// Token: 0x0600378E RID: 14222 RVA: 0x0009954B File Offset: 0x0009774B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as EvolveBuildQueryInfoScRsp);
		}

		// Token: 0x0600378F RID: 14223 RVA: 0x0009955C File Offset: 0x0009775C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(EvolveBuildQueryInfoScRsp other)
		{
			return other != null && (other == this || (object.Equals(this.LevelInfo, other.LevelInfo) && object.Equals(this.RogueCurrentInfo, other.RogueCurrentInfo) && this.Retcode == other.Retcode && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x06003790 RID: 14224 RVA: 0x000995C0 File Offset: 0x000977C0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.levelInfo_ != null)
			{
				num ^= this.LevelInfo.GetHashCode();
			}
			if (this.rogueCurrentInfo_ != null)
			{
				num ^= this.RogueCurrentInfo.GetHashCode();
			}
			if (this.Retcode != 0U)
			{
				num ^= this.Retcode.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x06003791 RID: 14225 RVA: 0x0009962B File Offset: 0x0009782B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x06003792 RID: 14226 RVA: 0x00099633 File Offset: 0x00097833
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x06003793 RID: 14227 RVA: 0x0009963C File Offset: 0x0009783C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.Retcode != 0U)
			{
				output.WriteRawTag(8);
				output.WriteUInt32(this.Retcode);
			}
			if (this.rogueCurrentInfo_ != null)
			{
				output.WriteRawTag(26);
				output.WriteMessage(this.RogueCurrentInfo);
			}
			if (this.levelInfo_ != null)
			{
				output.WriteRawTag(34);
				output.WriteMessage(this.LevelInfo);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x06003794 RID: 14228 RVA: 0x000996B0 File Offset: 0x000978B0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.levelInfo_ != null)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.LevelInfo);
			}
			if (this.rogueCurrentInfo_ != null)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.RogueCurrentInfo);
			}
			if (this.Retcode != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Retcode);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x06003795 RID: 14229 RVA: 0x00099720 File Offset: 0x00097920
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(EvolveBuildQueryInfoScRsp other)
		{
			if (other == null)
			{
				return;
			}
			if (other.levelInfo_ != null)
			{
				if (this.levelInfo_ == null)
				{
					this.LevelInfo = new EvolveBuildLevelInfo();
				}
				this.LevelInfo.MergeFrom(other.LevelInfo);
			}
			if (other.rogueCurrentInfo_ != null)
			{
				if (this.rogueCurrentInfo_ == null)
				{
					this.RogueCurrentInfo = new EvolveBuildQuery();
				}
				this.RogueCurrentInfo.MergeFrom(other.RogueCurrentInfo);
			}
			if (other.Retcode != 0U)
			{
				this.Retcode = other.Retcode;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x06003796 RID: 14230 RVA: 0x000997B4 File Offset: 0x000979B4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x06003797 RID: 14231 RVA: 0x000997C0 File Offset: 0x000979C0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 8U)
				{
					if (num != 26U)
					{
						if (num != 34U)
						{
							this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
						}
						else
						{
							if (this.levelInfo_ == null)
							{
								this.LevelInfo = new EvolveBuildLevelInfo();
							}
							input.ReadMessage(this.LevelInfo);
						}
					}
					else
					{
						if (this.rogueCurrentInfo_ == null)
						{
							this.RogueCurrentInfo = new EvolveBuildQuery();
						}
						input.ReadMessage(this.RogueCurrentInfo);
					}
				}
				else
				{
					this.Retcode = input.ReadUInt32();
				}
			}
		}

		// Token: 0x040015EF RID: 5615
		private static readonly MessageParser<EvolveBuildQueryInfoScRsp> _parser = new MessageParser<EvolveBuildQueryInfoScRsp>(() => new EvolveBuildQueryInfoScRsp());

		// Token: 0x040015F0 RID: 5616
		private UnknownFieldSet _unknownFields;

		// Token: 0x040015F1 RID: 5617
		public const int LevelInfoFieldNumber = 4;

		// Token: 0x040015F2 RID: 5618
		private EvolveBuildLevelInfo levelInfo_;

		// Token: 0x040015F3 RID: 5619
		public const int RogueCurrentInfoFieldNumber = 3;

		// Token: 0x040015F4 RID: 5620
		private EvolveBuildQuery rogueCurrentInfo_;

		// Token: 0x040015F5 RID: 5621
		public const int RetcodeFieldNumber = 1;

		// Token: 0x040015F6 RID: 5622
		private uint retcode_;
	}
}
